package com.lagou.model;

import java.io.Serializable;

public class TestMessage implements Serializable {
    private static final long serialVersionUID = -7695278805279254436L;
    private String type;
    private Test test;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Test getTest() {
        return test;
    }

    public void setTest(Test test) {
        this.test = test;
    }

    public TestMessage(String type, Test test) {
        this.type = type;
        this.test = test;
    }

    @Override
    public String toString() {
        return "TestMessage{" +
                "type='" + type + '\'' +
                ", test=" + test +
                '}';
    }
}
